package friendsbtt.servlets;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class EventosServlet extends CustomHttpServlet {
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		//TODO: get all the events
		req.setAttribute("eventos", null);
	    RequestDispatcher view = req.getRequestDispatcher("eventos.jsp");
	    view.forward(req, resp); 
	}
}
